//
//  NSError+Tools_HYC_Neusoft.m
//  ZLVehicle
//
//  Created by neusoft-macmini on 2022/2/17.
//

#import "NSError+HYC_Tools.h"

@implementation NSError (HYC_Tools)

- (NSString *)showToastStr_HYC {
    
    NSString *errCode = @"";
    
    if (self.code)     errCode = [NSString stringWithFormat:@"%ld",self.code];
    else                errCode = (NSString *)self.userInfo[@"NSLocalizedDescription"];
    
    return errCode.Error_description;
}

@end
